<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<%response.setDateHeader("Expires", -1);

		%>
<%@taglib uri="/WEB-INF/cvicse-cmis.tld" prefix="cmis"%>
<html:html>
<HEAD>
<%@ page language="java" contentType="text/html; charset=GBK"
	pageEncoding="GBK"%>
<META http-equiv="Content-Type" content="text/html; charset=GBK">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<SCRIPT language="JavaScript" src="../../js/public.js"></SCRIPT>
<SCRIPT language="JavaScript" src="../../js/button.js"></SCRIPT>
<SCRIPT language="JavaScript" src="../../js/Calendar.js"></SCRIPT>
<SCRIPT language="JavaScript">
<!--
function toEdit(announceId){
	with(document.forms[0]){
		sId.value=announceId;
		operAtt.value="edit";
		submit();
	}
	return true;
}

function toAdd(){
	with(document.forms[0]){
		operAtt.value="add";
		submit();
	}
	return true;
}

function toClear(){
	with(document.forms[0]){
		createDate.value="";
		latestDate.value="";
      announceTitle.value="";
       announceContent.value="";
	}
	return true;
}

function toSave(){
	with(document.forms[0]){
		pages.value="1";
		operAtt.value="select";
		submit();
	}
	return true;
}
removeCookie('webfxtab_');
//-->
</SCRIPT>
</HEAD>

<BODY>
<html:form action="/xzgl/saniannounce/SaniAnnounce">
	<html:hidden property='operAtt' value='' />
	<html:hidden property="data.announceId" styleId="sId"></html:hidden>
	<TABLE class="border">
		<TBODY>
			<TR>
				<TD>
				<P class="boardTitle"><bean:message key="SaniAnnounceData.select.title" /></P>
				<html:errors /> <bean:write name="SaniAnnounceForm"
					property="message" filter="false" />
				<DIV class="tab-pane" id="wl">
				<DIV class="tab-page">
				<DIV class="tab"><bean:message key="dataTab.select" /></DIV>
				<TABLE border="1" width="100%">
					<TBODY>
						<TR>
							<TH nowrap align="left"><bean:message
								key="SaniAnnounceData.createDate1" /></TH>
							<TD><html:text property='conditionData.createDate' size="30"
								maxlength="20" styleId="createDate"  onclick="calendar()" styleClass="canlenderText" 
								onkeypress="return setKey(event.keyCode)"></html:text></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message
								key="SaniAnnounceData.latestDate1" /></TH>
							<TD><html:text property='conditionData.latestDate' size="30"
								maxlength="20" styleId="latestDate"  onclick="calendar()" styleClass="canlenderText" 
								onkeypress="return setKey(event.keyCode)"></html:text></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message
								key="SaniAnnounceData.announceTitle1" /></TH>
							<TD><html:text property="conditionData.announceTitle"
								styleId="announceTitle" size="30"></html:text></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message
								key="SaniAnnounceData.announceContent1" /></TH>
							<TD><html:text property='conditionData.announceContent' size="50"
								maxlength="100" styleId="announceContent"></html:text></TD>
						</TR>

						<TR>
							<TD colspan="2" align="center" nowrap class="Show">&nbsp;</TD>
						</TR>
						<TR>
							<TD colspan="2" align="center" nowrap><html:button
								property="Save" onclick="toSave()" styleClass="button">
								<bean:message key="dataEdit.select" />
							</html:button><html:button styleClass="button" property="Clear"
								onclick="toClear()">
								<bean:message key="dataEdit.resetall" />
							</html:button></TD>
						</TR>
					</TBODY>
				</TABLE>
				</DIV>
				</DIV>
				<BR>

				<bean:write name="SaniAnnounceForm" property="footer" filter="false" />
				<DIV class="tab-pane">
				<DIV class="tab-page">
				<DIV class="tab"><bean:message key="dataTab.list" /></DIV>

				<TABLE border="1" width="100%">
					<TBODY>
						<TR>
							<TD style="padding: 0px"><cmis:BeanTable width="100%" border="1"
								styleClass="hideBorder" onClick="toEdit" multibox="true">
								<cmis:Attribute name="announceId" key="true" align="center">
									<bean:message key="SaniAnnounceData.announceId" />
								</cmis:Attribute>

								<cmis:Attribute name="announceTitle" align="center">
									<bean:message key="SaniAnnounceData.announceTitle" />
								</cmis:Attribute>
								<cmis:Attribute name="createDate" align="center">
									<bean:message key="SaniAnnounceData.createDate" />
								</cmis:Attribute>
							</cmis:BeanTable></TD>
						</TR>
						<TR>
							<TD colspan="6" align="center" nowrap class="Show">&nbsp;</TD>
						</TR>
						<TR>
							<TD colspan="6" align="center" nowrap><html:button
								property="delete" onclick="toDel()" styleClass="button">
								<bean:message key="dataEdit.delSelected" />
							</html:button><html:button property="creat" onclick="toAdd()"
								styleClass="button">
								<bean:message key="dataEdit.insert" />
							</html:button></TD>
						</TR>
					</TBODY>
				</TABLE>
				</DIV>
				</DIV>
				</TD>
			</TR>
		</TBODY>
	</TABLE>
</html:form>
</BODY>
</html:html>
